import request from '@/api/request';

/**
 * 分页
 * @param {*} query 参数
 * @returns 返回Promise对象
 */
export const gatewayLogPageApi = query => {
    return request({
        url: '/api/log/gateway/log/page',
        method: 'get',
        params: query,
        isLoading: true
    });
};

/**
 * 详情
 * @param {*} query 参数
 * @returns 返回Promise对象
 */
export const gatewayLogDetailApi = query => {
    return request({
        url: '/api/log/gateway/log/getDetail',
        method: 'get',
        params: query,
        isLoading: true
    });
};
